<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="model.User"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
<link rel="STYLESHEET" type="text/css" href="additions/style.css" media="screen" />
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script type="text/javascript" src="additions/main.js"></script>
<script type="text/javascript" src="additions/form.js"></script>
<script type="text/javascript" src="additions/selects.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Diary web</title>
</head>
<body onload="initFunctionalities();">
	<div class="cont">
		<div class="header">
			<div class="userinfo">
			<% User currentUser = (User) (session.getAttribute("currentSessionUser"));%> 
				<span><%= currentUser.getFormattedName()%></span>
			</div>
			<div class="menu">
				<span class="logo"><a href="user.jsp"><img src="additions/graphics/graphbook_logo.png" alt="GraphBook" border="0" /></a></span>
				<ul>
					<li><a href="user.jsp">Profiil</a></li>
					<li class="active">Ajaaruandlus</li>
					<li><a href="results.jsp">Tulemused</a></li>
					<li><a href="group.jsp">Grupid</a></li>
				</ul>
				<span class="loguot"><a href="../index.jsp">Logi välja</a></span>
			</div>
		</div>

		<div class="body">
			<div class="center">
				<div class="semester_slct">
					<h3>Semester</h3>
					<div>
						<select id="semesterSelect" onchange="onSemesterChange()"></select>
					</div>
				</div>
				<div class="results">
					<div class="titles">
						<div class="text75">
							<h3>Päev</h3>
						</div>
						<div class="text300">
							<h3>Aine</h3>
						</div>
						<div class="text300">
							<h3>Meetod</h3>
						</div>
						<div class="text75">
							<h3>Aeg(h)</h3>
						</div>
					</div>
					<div class="list">
						<ul id="formsList">
							<li><input class="inputText" id="datepicker_0" /><select id="courseSelect_0"></select><select id="methodSelect_0"></select><input type="text" id="hour_0" /></li>
							<li><input class="inputText" id="datepicker_1" /><select id="courseSelect_1"></select><select id="methodSelect_1"></select><input type="text" id="hour_1" /></li>
							<li><input class="inputText" id="datepicker_2" /><select id="courseSelect_2"></select><select id="methodSelect_2"></select><input type="text" id="hour_2" /></li>
							<li><input class="inputText" id="datepicker_3" /><select id="courseSelect_3"></select><select id="methodSelect_3"></select><input type="text" id="hour_3" /></li>
							<li><input class="inputText" id="datepicker_4" /><select id="courseSelect_4"></select><select id="methodSelect_4"></select><input type="text" id="hour_4" /></li>
						</ul>
						<div id="save" onclick="save('RESULT_FORM')" class="green-but">Kinnita</div>
						<div id="add" onclick="addNewDivFORM()" class="al fr">Lisa rida +</div>
					</div>

				</div>
				<div class="clear"></div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	<div class="footer">
		<div>Tartu Ülikooli projekt 2013</div>
	</div>
</body>
</html>